package com.enki.adminplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author yinyin
 * @create 2021/07/22 下午 5:46
 */

public class BaseEntity implements Serializable {

    @TableId (value = "id", type= IdType.AUTO)
    private Long id;
    @ApiModelProperty(value="创建时间")
    private LocalDateTime created;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updated;
    @ApiModelProperty(value = "状态")
    private Integer status;
}
